package com.wanxi.test;

public  class Worker extends Person {
    private String name;
    private Integer age;
    protected String sex;
    public final Integer height = null;

    public Worker() {
        System.out.println("父类");
    }

//    public Worker(String name, Integer age, String sex) {
//        this.name = name;
//        this.age = age;
//        this.sex = sex;
//    }

    //    String address;
    protected Object run(String name) {
        System.out.println("正常跑");
        return "";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
